﻿<UserControl x:Class="SharePointOfView.SPReporting.Silverlight.Page"
     xmlns:datavis="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit" 
   xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit" 
    xmlns:twilightBlue="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.TwilightBlue"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
    <UserControl.Resources>
    </UserControl.Resources>
<!--<twilightBlue:TwilightBlueTheme> -->
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="550" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="550" />
            <ColumnDefinition Width="250" />
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Width="Auto" Height="Auto">
            <charting:Chart x:Name="ReportChart" Height="520" Padding="0" Margin="2" LegendTitle="Elements">
                <charting:Chart.Series>
                </charting:Chart.Series>
            </charting:Chart>
                <ListBox x:Name="KPIList" Height="520" Padding="0" Margin="0" Visibility="Collapsed">
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding Name}" Margin="5" />
                                <TextBlock Text="{Binding Value}" Margin="5" />
                                <TextBlock Text="this is a test" Margin="5" />
                            </StackPanel>
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </ListBox>
            </StackPanel>
        <StackPanel Grid.Row="0" Grid.Column="0" Width="Auto" Height="Auto" HorizontalAlignment="Left" Orientation="Horizontal">
            <TextBlock x:Name="CustomFiltersText" Visibility="Collapsed" Text="Filters : " VerticalAlignment="Center" />
            <ComboBox x:Name="CustomFilters" Visibility="Collapsed" Width="Auto" SelectionChanged="CustomFilters_SelectionChanged">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="{Binding Name}" />
                        </StackPanel>
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
        </StackPanel>
        <TextBlock x:Name="Message" Grid.Row="0" Grid.Column="1" Text="SharePoint Of View - Reporting" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" />
    </Grid>
<!--    </twilightBlue:TwilightBlueTheme> -->
</UserControl>
